<html>
<!--载入css javascript资源-->
{include index.res}
<!--载入导航条结束-->
<body>
<!--载入导航条-->
{include index.nav}
<!--载入导航条结束-->
<div class="container " style="margin-top:40px;">
    <div class="page-header">
        <h1>ORM关联插入<a href="{Url('index/OrmDemo/main')}">列表</a></h1>
    </div>


    <div style="margin-top:10px;">
        <form method="post">
            <div class="input-group">
                <span class="input-group-addon">userName</span>
                <input type="text" class="form-control" value="{$value[userName]}" name="data[userName]">
            </div>

            <div class="input-group">
                <span class="input-group-addon">password</span>
                <input type="password" class="form-control"  name="data[password]">
            </div>

            <div class="input-group">
                <span class="input-group-addon">realName</span>
                <input type="text" class="form-control" value="{$value[realName]}" name="data[realName]">
            </div>


            <div class="input-group">
                <span class="input-group-addon">email</span>
                <input type="text" class="form-control" value="{$value[info][email]}" name="data[info][email]">
            </div>
            <div class="input-group">
                <span class="input-group-addon">qq</span>
                <input type="text" class="form-control" value="{$value[info][email]}" name="data[info][qq]">
            </div>
            <div class="input-group">
                <span class="input-group-addon">tag,分割</span>
                <input type="text" class="form-control" value="{$value[tag]}" name="data[tag]">
            </div>
            <div class="input-group">
                <button type="submit" class="btn btn-default">提交</button>
            </div>
            <!--加入token hash，否则添加不上-->
            {TOKEN($marking)}
        </form>
    </div>
</div>




</body>
</html>